Skip to content

revert(producer): a render that fails on a missing file stops naming what was gone, for now - #8174

Merged
miguel-heygen merged 2 commits into
mainfrom
credlock/revert-7955
Nov 18, 2026
Merged

miguel-heygen merged 2 commits into
mainfrom
credlock/revert-7955

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

What

Reverts #7955. When a render fails because a file went missing, the failure goes back to naming only which kind of file it was (frames, cache, work folder), as it did in v0.9.65. It no longer says which folder on the way was gone or whether the folder was synced.

Why

#7955 found the missing path by reading it out of the error text, then looked at that path's parent folders on disk. That error text can come from the page being rendered, so the page could choose which folders the render looks at. The detail comes back in a follow-up that only looks inside the folders the render itself owns. Until then, the next release ships without it.

Related work

Refs #7955. The detail returns in #8168, rebased on this revert.

How

git revert of the #7955 merge commit. One conflict: packages/producer/src/services/render/missingPath.ts had a comment trimmed by #8146 after #7955 landed; the revert deletes the file, which drops that comment with it. The CLI's missingPathKind goes back to its own text-only reader of the error (no disk access).

Test plan

…what was gone, for now

This reverts commit cfea8cf (#7955). The detail comes back in a follow-up that only looks inside the folders the render owns.
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Edit accuracy: accurate 271 (base branch 271), smooth 60 of those

The gate passes.
Smoothness is reported in the artifact, not gated. A case fails only if it fails 2 of 3 runs.

Quarantined, measured but not gated (0)

Unstable (2)

  • seqplainkeys-none-px-r0-nested-z100: tracking 0.07, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true / tracking 0.07, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true / tracking 0.07, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true
  • seqplainkeys-none-pct-r0-root-z100: tracking 0.06, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true / tracking 0.06, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true / tracking 0.06, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true

@terencecho terencecho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed current head dc149c3 (requested pin was 95f2e3c). No code blocker found. I independently reverted #7955 from this branch's parent and resolved the sole modify/delete conflict by deleting missingPath.ts; the resulting tree exactly equals 95f2e3c's tree. The additional dc149c3 commit allows only the four intended file deletions in the deletion guard. No old diagnostic helper imports remain; the restored CLI classifier reads error text without filesystem access.

Full workspace build passed on retry (first run exited 143), 95 CLI telemetry tests passed, and 10 deletion-guard tests passed; the deletion guard itself accepts the four exact paths. A fails-without-the-fix test is not applicable to this faithful revert restoring previous behavior; mechanical inverse verification is the relevant check.

Once merged and included in the release head, this removes the unsafe probing behind my #8172 security blocker. Release notes must still be refreshed, including the previously missing #8155 and removal of the reverted feature claim. This is not release approval.

Leaving COMMENT rather than an approval because the current head differs from the requested pin, as already reported in the lane. Ready for re-pin at dc149c3; CI still has checks pending and no failures at this check.

— tai (automated review)

@terencecho terencecho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at the explicitly re-pinned dc149c3, unchanged from my completed review 5955391288. CI is now green: 88 successful checks, 10 skipped.

The independent clean revert of #7955 reproduces the revert tree exactly, including deletion of the file whose comment #8146 trimmed. The extra commit permits only the four intended deletions in the existing guard. No stale diagnostic imports remain; the restored CLI classifier reads text without probing the filesystem. Full workspace build, 95 CLI telemetry tests and 10 deletion-guard tests passed in that review. A fails-without test is inapplicable to this faithful revert; mechanical inverse verification covers its scope. No tests repeated for this unchanged head.

Once merged and included in the release head, this resolves my #8172 security blocker. The release still needs refreshed notes, including #8155 and removal of the reverted feature claim; this approval is for the revert, not the release.

— tai (automated review)

@miguel-heygen
miguel-heygen added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 94d0666 Nov 18, 2026
98 checks passed
@miguel-heygen
miguel-heygen deleted the credlock/revert-7955 branch November 18, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants